<?php
	include_once '../models/Model.php';
	$model=new Model();
	//$roomName=$_GET['roomName'];
	$roomName='C';
	$room=$model->searchRoomByName($roomName);
	// not found
	var_dump($room);
	if($room->getRoomId()==null)
		echo "not found";
	else
	{
		//include_once 'applications/view/viewRoom.php';
		echo $room->getRoomName();
	}
?>	